package com.study.mike.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.mike.model.dto.QuerySaleOrderProductDTO;
import com.study.mike.model.entity.SaleOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author KangHui
 * @Date 2022/8/29 17:13
 */
@Mapper
public interface OrderMapper extends BaseMapper<SaleOrder> {

    /**
     * 订单详情
     * @param orderId
     * @return
     */
    QuerySaleOrderProductDTO queryOrderInfo(@Param("orderId") Long orderId);
}
